﻿using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using MobileBroadbandUserBlog.MBLM.Core.Interfaces;

namespace MobileBroadbandUserBlog.MBLM.Core.MobileSoftware
{
    public class BirdStepTechnologyEasyConnectNew : IMobileSoftware
    {
        private string dirToLook = string.Empty;
        private string fileToFind = string.Empty;

        #region IMobileSoftware Members

        public BirdStepTechnologyEasyConnectNew()
        {
            dirToLook = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\Birdstep Technology\EasyConnect";
            fileToFind = dirToLook + @"\LogFile.txt";
        }

        public override bool IsPresent()
        {
            return File.Exists(fileToFind);
        }

        public override string GetName()
        {
            return "BirdStep Technology EasyConnect (Newer editions)";
        }


        public override string GetFolderToMonitor()
        {
            return dirToLook;
        }

        public override string GetFileFilterToMonitor()
        {
            return "*.txt";
        }

        public override bool HasSolution()
        {
            return true;
        }

        public override string GetSolutionURL()
        {
            return "http://blog.mobilebroadbanduser.eu/post/3Connect-logging-A-solution-for-those-of-us-without-computer-skills.aspx?from=loggingmonitor";
        }

        #endregion
    }


}
